		<div class="{if $user_authenticated eq true}mpanel2{else}mpanel{/if}">
		{checkActionsTpl location="tpl_widget_login_start"}
		{if $user_authenticated eq true}
			<strong>{#PLIGG_Visual_Welcome_Back#} <a href="{$URL_userNoVar}">{$user_logged_in}</a></strong>.
			<ul class="clearfix">
				<li><a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=history{else}{$URL_userNoVar}history/{$user_logged_in}{/if}">{#PLIGG_Visual_User_NewsSent#}</a></li>
				<li><a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=published{else}{$URL_userNoVar}published/{$user_logged_in}{/if}">{#PLIGG_Visual_User_NewsPublished#}</a></li>
				<li><a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=shaken{else}{$URL_userNoVar}shaken/{$user_logged_in}{/if}">{#PLIGG_Visual_User_NewsUnPublished#}</a></li>
				<li><a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=commented{else}{$URL_userNoVar}commented/{$user_logged_in}{/if}">{#PLIGG_Visual_User_NewsCommented#}</a></li>
				<li><a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=voted{else}{$URL_userNoVar}voted/{$user_logged_in}{/if}">{#PLIGG_Visual_User_NewsVoted#}</a></li>
				<li><a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=saved{else}{$URL_userNoVar}saved/{$user_logged_in}{/if}">{#PLIGG_Visual_User_NewsSaved#}</a></li>
			</ul>		
		{else}
			<form action="{$URL_login}" method="post">
			<ol>
				<li>
					<label for="username">{#PLIGG_Visual_Login_Username#}</label>
					<input type="text" name="username" id="username" value="{if isset($login_username)}{$login_username}{/if}" />
				</li>
				<li>
					<label for="password">{#PLIGG_Visual_Login_Password#}</label>
					<input type="password" name="password" id="password" />
					<input type="checkbox" id="persistent" name="persistent" /> <span class="small_font remember">{#PLIGG_Visual_Login_Remember#}</span>
				</li>
				<li>
					<label><input type="hidden" name="processlogin" value="1" /><input type="hidden" name="return" value="{if $pagename neq 'login' && $pagename neq 'register'}{php}echo $_SERVER['REQUEST_URI'];{/php}{/if}" /></label>
					<input type="submit" value="" />
				</li>
				{checkActionsTpl location="tpl_pligg_login_link"}
			</ol>
			</form>
		{/if}
		{checkActionsTpl location="tpl_widget_login_end"}
		</div>
		<div class="mpanel_strap small_font">
		{if $user_authenticated eq true}
			<a href="{$URL_userNoVar}"><strong>{#PLIGG_Visual_Profile#}</strong></a> &nbsp; &nbsp; &nbsp; :: &nbsp; &nbsp; &nbsp;
			{checkActionsTpl location="tpl_pligg_sidebar_inbox_link"}
			<a href="{if $urlmethod eq "1"}{$URL_userNoVar}&#63;login={$user_logged_in}&amp;view=setting{else}{$URL_userNoVar}setting/{$user_logged_in}{/if}"><strong>{#PLIGG_Visual_User_Setting#}</strong></a> &nbsp; &nbsp; &nbsp; :: &nbsp; &nbsp; &nbsp;
			<a href="{$URL_logout}"><strong>{#PLIGG_Visual_Logout#}</strong></a>
		{else}
			<a href="{$URL_login}#forgot">Забыли пароль?</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
			<a href="{$URL_register}">Нет аккаунта? Регистрируйся!</a>
		{/if}
		</div>
		<h3><a href="{$URL_submit}"><img src="{$my_pligg_base}/templates/{$the_template}/images/buttons/submit.png" alt="" /></a></h3>